{extend name="admin@template/base" /}
{block name="content"}
<div class="page-container">
    {include file='form' /}
    <div class="cl pd-5 bg-1 bk-gray">
        <span class="l">
                    <a class="btn btn-success radius mr-5" href="javascript:;" onclick="recycle_all('{:\\think\\Url::build(\'Questions/recycle\',[\'bankid\'=>$Request.param.bankid,\'btype\'=>$Request.param.btype])}')"><i class="Hui-iconfont"></i> 还原</a>
			
			<a href="javascript:;" onclick="del_forever_all('{:\\think\\Url::build(\'Questions/deleteforever\',[\'bankid\'=>$Request.param.bankid,\'btype\'=>$Request.param.btype])}')" class="btn btn-danger radius mr-5"><i class="Hui-iconfont"></i> 彻底删除</a>

			<a href="javascript:;" onclick="clear_recyclebin('{:\\think\\Url::build(\'Questions/clear\',[\'bankid\'=>$Request.param.bankid,\'btype\'=>$Request.param.btype])}')" class="btn btn-danger radius mr-5"><i class="Hui-iconfont"></i> 清空回收站</a>

			<a href="{$origin}"  class="btn btn-secondary radius mr-5"><i class="Hui-iconfont">&#xe66b;</i> 返回</a>
        </span>
        <span class="r pt-5 pr-5">
            共有数据 ：<strong>{$count}</strong> 条
        </span>
    </div>
    <table class="table table-border table-bordered table-hover table-bg mt-20">
        <thead>
        <tr class="text-c">
            {include file="th" /}
            <th >操作</th>
        </tr>
        </thead>
        <tbody>
        {volist name="list" id="vo"}
        <tr class="text-c">
            {include file="td" /}
            <td class="f-14">
               <a href="javascript:;" onclick="recycle(this,{$vo.id},'{:\\think\\Url::build(\'Questions/recycle\',[\'bankid\'=>$Request.param.bankid,\'btype\'=>$Request.param.btype])}')" class="label label-success radius ml-5">还原</a>
               <a href="javascript:;" onclick="del_forever(this,{$vo.id},'{:\\think\\Url::build(\'Questions/deleteforever\',[\'bankid\'=>$Request.param.bankid,\'btype\'=>$Request.param.btype])}')" class="label label-danger radius ml-5">彻底删除</a>
            </td>
        </tr>
        {/volist}
        </tbody>
    </table>
    <div class="page-bootstrap">{$page}</div>
</div>
{/block}